#include "BulletCollision/NarrowPhaseCollision/btConvexCast.h"
#ifdef __cplusplus
extern "C" {
#endif
btConvexCast::CastResult* bullet_NewbtConvexCastCastResult(){
	btConvexCast::CastResult* wrap_out = new btConvexCast::CastResult();
	return wrap_out;
}

double bullet_btConvexCastCastResult_GetFieldOfM_allowedPenetration(btConvexCast::CastResult* c_this){
	return (double)(c_this->m_allowedPenetration);
}

double bullet_btConvexCastCastResult_GetFieldOfM_fraction(btConvexCast::CastResult* c_this){
	return (double)(c_this->m_fraction);
}

btVector3* bullet_btConvexCastCastResult_GetFieldOfM_hitPoint(btConvexCast::CastResult* c_this){
	return (btVector3*)(&c_this->m_hitPoint);
}

btTransform* bullet_btConvexCastCastResult_GetFieldOfM_hitTransformA(btConvexCast::CastResult* c_this){
	return (btTransform*)(&c_this->m_hitTransformA);
}

btTransform* bullet_btConvexCastCastResult_GetFieldOfM_hitTransformB(btConvexCast::CastResult* c_this){
	return (btTransform*)(&c_this->m_hitTransformB);
}

btVector3* bullet_btConvexCastCastResult_GetFieldOfM_normal(btConvexCast::CastResult* c_this){
	return (btVector3*)(&c_this->m_normal);
}

double bullet_btConvexCastCastResult_GetFieldOfM_subSimplexCastEpsilon(btConvexCast::CastResult* c_this){
	return (double)(c_this->m_subSimplexCastEpsilon);
}

int bullet_btConvexCastCastResult_GetFieldOfM_subSimplexCastMaxIterations(btConvexCast::CastResult* c_this){
	return (int)(c_this->m_subSimplexCastMaxIterations);
}

#ifdef __cplusplus
}
#endif
